package baseFx.common.utils;

public class ResponseException extends RuntimeException {
    private int code;

    public int getResponseCode() {
        return code;
    }

    public ResponseException(int code, String message) {
        super(message == null ? "response code: " + code : message);
        this.code = code;
    }
}
